package com.qbw.app.model;

import androidx.databinding.Bindable;

import com.google.gson.Gson;
import com.qbw.app.BR;
import com.qbw.l.L;

import java.io.Serializable;
import java.util.List;

/**
 * @author QBW
 * @date 2019-09-01
 */
public class FirmwareUpgrade extends BaseModel implements Serializable {
 private String deviceCode;//869374040927880",
    private int failCount;
    private String fileName;//GT508_N1M_V0.02_OTA_0429",
    private int id;
    private String operatorCode;
    private long overtimeTimeLong;
    private int planId;
    private long receivingTimeLong;
    private int updateState;
    private long upgradeEndTimeLong;
    private long upgradeTimeLong;
    private int versionFileSize;
    private int versionId;
    private String versionInfo;
    private String versionName;//GT508_N1M_V0.02_OTA_0429",
    private String versionNo;//GT508_N1M_V0.02_OTA_0429.bin",
    private int versionType;//4,
    private String versionUrl;//http:\/\/fms-manage.magicyo.com\/1620891483137"


    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public int getFailCount() {
        return failCount;
    }

    public void setFailCount(int failCount) {
        this.failCount = failCount;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOperatorCode() {
        return operatorCode;
    }

    public void setOperatorCode(String operatorCode) {
        this.operatorCode = operatorCode;
    }

    public long getOvertimeTimeLong() {
        return overtimeTimeLong;
    }

    public void setOvertimeTimeLong(long overtimeTimeLong) {
        this.overtimeTimeLong = overtimeTimeLong;
    }

    public int getPlanId() {
        return planId;
    }

    public void setPlanId(int planId) {
        this.planId = planId;
    }

    public long getReceivingTimeLong() {
        return receivingTimeLong;
    }

    public void setReceivingTimeLong(long receivingTimeLong) {
        this.receivingTimeLong = receivingTimeLong;
    }

    public int getUpdateState() {
        return updateState;
    }

    public void setUpdateState(int updateState) {
        this.updateState = updateState;
    }

    public long getUpgradeEndTimeLong() {
        return upgradeEndTimeLong;
    }

    public void setUpgradeEndTimeLong(long upgradeEndTimeLong) {
        this.upgradeEndTimeLong = upgradeEndTimeLong;
    }

    public long getUpgradeTimeLong() {
        return upgradeTimeLong;
    }

    public void setUpgradeTimeLong(long upgradeTimeLong) {
        this.upgradeTimeLong = upgradeTimeLong;
    }

    public int getVersionFileSize() {
        return versionFileSize;
    }

    public void setVersionFileSize(int versionFileSize) {
        this.versionFileSize = versionFileSize;
    }

    public int getVersionId() {
        return versionId;
    }

    public void setVersionId(int versionId) {
        this.versionId = versionId;
    }

    public String getVersionInfo() {
        return versionInfo;
    }

    public void setVersionInfo(String versionInfo) {
        this.versionInfo = versionInfo;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getVersionNo() {
        return versionNo;
    }

    public void setVersionNo(String versionNo) {
        this.versionNo = versionNo;
    }

    public int getVersionType() {
        return versionType;
    }

    public void setVersionType(int versionType) {
        this.versionType = versionType;
    }

    public String getVersionUrl() {
        return versionUrl;
    }

    public void setVersionUrl(String versionUrl) {
        this.versionUrl = versionUrl;
    }

    public static class Response extends BaseResponse<FirmwareUpgrade> {}

}
